* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

h1 {
    color: #1890ff;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.game-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.game-area {
    margin-bottom: 25px;
}

input {
    padding: 10px 15px;
    border: 2px solid #d9d9d9;
    border-radius: 6px;
    font-size: 1rem;
    width: 60%;
    margin-right: 10px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #1890ff;
}

button {
    padding: 10px 20px;
    background-color: #1890ff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #096dd9;
}

#restart-button {
    background-color: #52c41a;
    margin-top: 15px;
}

#restart-button:hover {
    background-color: #389e0d;
}

.message-area {
    margin-bottom: 20px;
    min-height: 80px;
}

#message {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

#history {
    color: #666;
    font-size: 0.9rem;
}

.stats {
    font-size: 1.1rem;
    color: #333;
    font-weight: bold;
}

.win {
    color: #52c41a;
    font-weight: bold;
}

.lose {
    color: #f5222d;
    font-weight: bold;
}

.hot {
    color: #fa541c;
}

.warm {
    color: #fa8c16;
}

.cool {
    color: #13c2c2;
}

.cold {
    color: #1890ff;
}